<ion-header-bar align-title="center" style='	background: url(img/icon/headerline.png); background-size: contain; background-position: bottom; background-repeat: no-repeat;'>
    <a class="button icon-left ion-ios-arrow-left button-clear button-light" ng-click="backGo()"></a>
    <h1 class='title'>我的文档</h1>
</ion-header-bar>

<ion-content class="content" style="background-color: #EFEFF4;">
    <ion-refresher pulling-text="<span class='pulling-text-auto'>{{pulltextchange}}</span>" on-refresh="doRefresh()" on-pulling="pulltext()" spinner="ripple" pulling-icon="ion-ios-refresh-empty"></ion-refresher>
    <ion-list>
        <ion-item class='item-gap' ng-repeat='myDoc in myDocs' style="border:0px">
            <div class="right-downloadIcon" ng-click="mClick(myDoc.url)" ng-show="myDoc.type==0">
                <img id="downloadIcon" src="img/icon/download.png" width="22px" height="20px" style="margin-bottom: -8px;margin-left: 2px"><br />
                <span style="font-size: x-small; color: #11C1F3;">下载</span>
            </div>
            <div>
                <div>
                    <img ng-show="myDoc.type==0" src="img/icon/sets.png" width="13px" height="13px" />
                    <img ng-show="myDoc.type!=0"src="img/icon/cloud.png" width="13px" height="13px" />
                    <span>{{myDoc.name}}</span>
                </div>
                <div  ng-show="myDoc.type==0" class="cut-line long"></div>
                <div  ng-show="myDoc.type==0">
                    <p class="text-gap">上传者: {{myDoc.uploader}}</p>
                    <p class="text-gap">上传时间: {{myDoc.makeTime}}</p>
                </div>
            </div>
        </ion-item>
    </ion-list>
</ion-content>
<style type="text/css">
    .right-downloadIcon {
        padding-left: 5px;
        padding-right: 5px;
        position: absolute;
        top: 65px;
        right: 15px;
    }
    .cut-line {
        background-color: #F8F8F8;
        height: 1px;
        margin-left: -20px;
        margin-top: 7px;
        margin-bottom: 5px
    }
    .long {
        margin-right: -13px;
    }


    .item-gap {
        margin-top: 2%;
        padding-right: 40px;
    }

    .text-gap {
        margin-top: 5px;
        margin-bottom: 8px;
    }
</style>
